//package org.example.dao;
//
//import org.apache.ibatis.annotations.Param;
//import org.example.dto.ClassDto;
//import org.example.pojo.Classes;
//import org.example.vo.ClassVo;
//
//import java.util.List;
//
//public interface ClassDao {
//    Integer addClass(Classes classVo);
//    Integer updateClass(Classes classVo);
//    Integer deleteClass(Integer classId);
//    List<Classes> queryAllClass();
//    Integer countClass();
//    List<Classes> queryClassByDepartmentAndMajorAndGrade(@Param("departmentName") String department, @Param("majorName") String major, @Param("gradeName") String grade);
//    ClassDto queryClassById(Integer classId);
//    Integer countClassByDepartmentAndMajorAndGrade(@Param("departmentName") String department, @Param("majorName") String major, @Param("gradeName") String grade);
//
//}
